import request from 'utils/request.js'

// addComment
export function addComment(params) {
  let data = params
  return request({
    url: '/comment/addComment',
    method: 'post',
    data: data
  })
}
// getCommentByUserToken
export function getCommentByUserToken(params) {
  let data = params
  return request({
    url: '/comment/getCommentByUserToken',
    method: 'post',
    data: data
  })
}
